{% extends 'base.html' %}
{% from 'macros.html' import form_field  %}

{% block title %}
CKEditor修改笔记
{% endblock title %}

{% block content %}
<h3>修改笔记</h3>
<form method="POST">
    {{ form.csrf_token }}
    {{ form_field(form.body) }}
    {{ form.submit }}
</form>
{% endblock content %}

{% block scripts %}
{{ super() }}
{{ ckeditor.load() }}
{# upload -----#}
{{ ckeditor.config(name='body') }}
{% endblock scripts %}